package org.linlinjava.litemall.wx.vo.cart;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

@Data
@ApiModel(value="经过会员和优惠券计算后的购物车")
public class CartWithMemberCouponRespVO {

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "商店id")
    private Integer shopId;

    @ApiModelProperty(value = "商品id")
    private Integer cartGoodsId;

    @ApiModelProperty(value = "套餐id")
    private Integer cartPackageId;

    @ApiModelProperty(value = "类型")
    private Integer type;

    @ApiModelProperty(value = "单个商品价格")
    private BigDecimal price;

    @ApiModelProperty(value = "商品总价格")
    private BigDecimal totalPrice;

    @ApiModelProperty(value = "会员优惠的价格")
    private BigDecimal memberDiscountPrice;

    @ApiModelProperty(value = "优惠券优惠的价格")
    private BigDecimal couponDiscountPrice;

    @ApiModelProperty(value = "优惠后价格")
    private BigDecimal afterDiscountPrice;
}
